package com.association.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.client.ClientHttpResponse;
import org.springframework.web.client.ResponseErrorHandler;

import java.io.IOException;

/**
 * @ClassName: ThrowErrorHandler
 * @Author: Tony
 * @Date: 2020/6/28 16:09
 * @Description: TODO
 */
public class ThrowErrorHandler implements ResponseErrorHandler {
    final Logger log = LoggerFactory.getLogger(this.getClass());

    @Override
    public boolean hasError(ClientHttpResponse clientHttpResponse) throws IOException {
        return false;
    }

    @Override
    public void handleError(ClientHttpResponse response) throws IOException {

    }
}
